package com.mokio.service;

import com.mokio.entity.Carshop;
import com.mokio.entity.Xmorder;

import java.util.List;

/**
 * @program: xiaomishop
 * @ClassName XmorderService
 * @description:
 * @author: mokio
 * @create: 2024−12-21 10:52
 * @Version 1.0
 **/

public interface XmorderService {
    /**
     * 添加订单
     * @param xmorder
     * @param pids
     * @param carshopList
     * @return
     */
    public int save(Xmorder xmorder, String[] pids, List<Carshop> carshopList);

    List<Xmorder> findOrdersByUserId(Integer uid);
}
